<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>西瓜后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/operations_management.css" media="all">
</head>
<style>
    #alert_select{
        position: fixed;
        width: 250px;
        height:150px;
        top:50%;
        left:50%;
        margin-left: -250px;
        margin-top:-125px;
        background: #fff;
        border:1px solid #d5d5d5;
        box-shadow: 0 0 12px 0 rgba(0,0,0,.5);
        z-index: 9999;
        padding:30px;
        text-align: center;
        display: none;
    }
</style>
<form class="layui-form layui-anim layui-anim-scaleSpring" id="alert_select">
    <div class="layui-form-item">
        <h4>标题</h4>
    </div>
    <div class="layui-form-item">
        <select name="layui-select">
            <option>11</option>
            <option>22</option>
        </select>
    </div>
    <div class="my_skin" style="display: flex;">
        <a class="layui-layer-btn0">确定</a>
        <a class="layui-layer-btn2">取消</a>
    </div>
</form>
<body>
<div class="layui-fluid">
    <div class="layui-card layui-form-item">
        <form class="layui-form layui-form-search layui-clear" wid130 action="">
            <div class="search-term">
                <label class="layui-form-label">经销商/门店名称</label>
                <div class="layui-input-inline ">
                    <input type="text" name="" placeholder="经销商/门店名称" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="search-term">
                <label class="layui-form-label">创建日期</label>
                <div class="layui-input-inline ">
                    <input name="start" id="date" class="layui-input Wdate" type="text"/>
                </div>
            </div>
            <div class="search-term">
                <label class="layui-form-label">&nbsp;</label>
                <button class="layui-btn layui-bg-blue layui-btn-sm" lay-submit lay-filter="LAY-user-back-search">
                    <i class="layui-icon layui-icon-defined layui-icon-search"></i> 查询
                </button>
            </div>
        </form>
    </div>
    <div class="layui-card">
        <div class="layui-card-header">门店管理</div>
        <div class="layui-card-body layadmin-takerates">
            <div class="layui-btn-container">
                <a href="javascript:;" class="layui-btn layui-bg-blue layui-btn-sm" id="addDealer"><i class="layui-icon layui-icon-defined layui-icon-add">新建经销商</i></a>
                <a href="javascript:;" class="layui-btn layui-bg-blue layui-btn-sm" id="addStore"><i class="layui-icon layui-icon-defined layui-icon-add">新建门店</i></a>
            </div>
            <div class="table_wrap">
                <table class="layui-table" id="dealer1" lay-filter="dealer1ListTable"></table>
            </div>
            <script type="text/html" id="storeItem">
                {{#  if(d.store_item === '经销商名称:'){ }}
                <span style="font-weight: bold;" class="dealer_head">{{ d.store_item }}</span>
                {{#  } else { }}
                {{ d.store_item }}
                {{#  } }}
            </script>
            <script type="text/html" id="operationMangerBar">
                {{#  if(d.store_item == '经销商名称:'){ }}
                <a class="layui-text-blue layui-btn-xs" lay-event="dealerEdit">编辑</a>
                {{#  } else  { }}
                <a class="layui-text-blue layui-btn-xs" lay-event="edit">编辑</a>
                <a class="layui-text-blue layui-btn-xs" lay-event="look">查看</a>
                <a class="layui-text-red layui-btn-xs" lay-event="delete">注销</a>
                {{#  }
                }}
            </script>
        </div>
    </div>
</div>
</body>
<script src="../../../layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '../../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index', //主入口模块
        list: 'operations_management/list', //list模块
    }).use(['index','list'])
</script>
</html>